﻿<UserControl x:Class="Hangout.Client.Controls.Trophy.TrophyList"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
	<UserControl.Resources>
		<DataTemplate x:Key="HangoutDataTemplate">
			<Grid Width="480">
				<StackPanel Margin="0,15,8,0" Orientation="Horizontal" d:LayoutOverrides="Width">
					<Image Width="160" Height="200" Source="{Binding TrophyPic}"/>
					<StackPanel Margin="16,0,0,0" Width="295">
						<TextBlock x:Name="Title" Text="{Binding Name}" Margin="0" TextWrapping="Wrap" d:LayoutOverrides="Height" Width="308" Foreground="{StaticResource YellowBrush}" FontSize="29.333"/>
                        <TextBlock x:Name="Description" Text="{Binding Description}" TextWrapping="Wrap" FontSize="20"/>
					</StackPanel>
				</StackPanel>
			</Grid>
		</DataTemplate>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot">
    	<TextBlock x:Name="NoLBL" HorizontalAlignment="Right" TextWrapping="Wrap" VerticalAlignment="Top" FontFamily="Segoe WP Light" FontSize="25.333" Foreground="{StaticResource YellowBrush}" Text="Oops. Empty Shelf." Margin="0" d:LayoutOverrides="VerticalAlignment" Visibility="Collapsed"/>
    	<StackPanel x:Name="ItemList" Margin="0" VerticalAlignment="Top" d:LayoutOverrides="Width" Visibility="Collapsed">
    		<ListBox x:Name="TrophyLB"  Margin="0,0,0,27" ItemTemplate="{StaticResource HangoutDataTemplate}" Height="540"/>
    	</StackPanel>

    </Grid>
</UserControl>
